﻿using Share;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SystemWFH.Domain
{
    public class ProductionPlanning: Audit
    {
        /// <summary>
        /// 生产Id
        /// </summary>
        [Key]
        public int productionId { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public string? productionSerialNumber { get; set; }
        /// <summary>
        /// 生产计划编号
        /// </summary>
        public string? theProductionPlanNumber { get; set; }
        /// <summary>
        /// 生产状态
        /// </summary>
        public int productionStatus { get; set; }
        /// <summary>
        /// 成品编号
        /// </summary>
        public string? theFinishedProduct { get; set; }
        /// <summary>
        /// 优先级
        /// </summary>
        public int MyProperty { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? specificationsAndModels { get; set; }
        /// <summary>
        /// 计划产量
        /// </summary>
        public string? plannedProduction { get; set; }
        /// <summary>
        /// 报工数量
        /// </summary>
        public int numberReportedJobs { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public int orderNumber { get; set; }
        /// <summary>
        /// 交付日期
        /// </summary>
        public DateTime DeliveryDate { get; set; }
        /// <summary>
        /// 工艺路线
        /// </summary>
        public int routing { get; set; }
        /// <summary>
        /// 车间
        /// </summary>
        public int workShop { get; set; }
        /// <summary>
        /// 计划开始日期
        /// </summary>
        public DateTime? planTheStartTime { get; set; }
        /// <summary>
        /// 计划结束日期
        /// </summary>
        public DateTime? scheduledEndTime { get; set; }
        /// <summary>
        /// 实际开始日期
        /// </summary>
        public DateTime? actualStartTime { get; set; }
        /// <summary>
        /// 实际结束日期
        /// </summary>
        public DateTime? actualEndTime { get; set; }
        /// <summary>
        /// 删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
